<?php
    if ($dataList) {
        $familiarStr = '';
        $goodatStr = '';
        foreach($dataList as $data){

            if($data['familiar'] == 1){
                $familiarStr .= $data['name'].'、';
            }else{
                $goodatStr .= $data['name'].'、';
            }
        }
        $familiarStr = rtrim($familiarStr,"、");
        $goodatStr = rtrim($goodatStr,"、");
    ?>
<div style="padding:0;border-bottom:1px solid #e6e6e6;margin:0;">
    <div style="height:20px; overflow:hidden;color:#ffffff">.</div>
    <dl style="padding:0;margin:0;">
        <dt style="font-size:16px;font-weight:bold;color:#333">IT技能</dt>
        <dd style="margin:0 0 0 25px;padding:0;">
            <table style="border:none;border-collapse:collapse;border-spacing:0; vertical-align:top; table-layout:fixed;">
                <colgroup><col width="70">
                <col width="550">
                </colgroup><tbody><tr>
                    <td height="8" colspan="2"></td>
                </tr>
                <?php
                    if($familiarStr){
                        ?>
                    <tr>
                        <td style="text-align:left; vertical-align:top;font-size:12px; white-space:nowrap;">熟悉技能：</td>
                        <td style="text-align:left; vertical-align:top;font-size:12px;">
                            <?=$familiarStr?>
                        </td>
                    </tr>
                    <?php
                       }
                    if($goodatStr){
                    ?>
                    <tr>
                        <td style="text-align:left; vertical-align:top;font-size:12px; white-space:nowrap;">精通技能：</td>
                        <td style="text-align:left; vertical-align:top;font-size:12px;">
                            <?=$goodatStr?>
                        </td>
                    </tr>
                    <?php
                    }
                    ?>
            </tbody></table>
        </dd>
    </dl>
    <div style="height:10px;overflow:hidden;color:#ffffff;">.</div>
</div>
<?php
    }
?>